<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>分类</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="../css/app.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">分类搜索</h1>
		</header>
		
		<nav class="mui-bar mui-bar-tab">
			<a id='home' class="mui-tab-item mui-active" href="#tabbar">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a id='sort' class="mui-tab-item" href="#tabbar-with-chat">
				<span class="mui-icon mui-icon-email"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a id='cart' class="mui-tab-item" href="#tabbar-with-chat">
				<span class="mui-icon mui-icon-contact"></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a id='user' class="mui-tab-item">
				<span class="mui-icon mui-icon-gear"></span>
				<span class="mui-tab-label">会员</span>
			</a>
		</nav>
		
		<div class="mui-content">
			<div class="mui-card">
				<div class="mui-card-content">
					<div class="mui-card-content-inner">
						<h4>食品、饮料、酒水</h4>
						<div class="mui-row">
							<a class="mui-col-xs-2"> 坚果</a>
							<a class="mui-col-xs-2"> 肉干</a>
							<a class="mui-col-xs-2"> 薯片</a>
							<a class="mui-col-xs-2"> 巧克力</a>
						</div>
						
					</div>
				</div>
			</div>															
		</div>
		<script src="../js/mui.min.js"></script>
	</body>
<script type="text/javascript" charset="utf-8">
		mui.init({
			swipeBack: true //启用右滑关闭功能
		});
		
		document.getElementById('home').addEventListener('tap', function() {
			mui.openWindow({
				url: "index.html",
				id: "home",
				show: {
					aniShow: 'zoom-fade-out',
					duration: 300
				}
			});

		});
		
		document.getElementById('user').addEventListener('tap', function() {
			mui.openWindow({
				url: "userInfo.html",
				id: "userInfo",
				show: {
					aniShow: 'zoom-fade-out',
					duration: 300
				}
			});

		});

			
		document.getElementById('cart').addEventListener('tap', function() {
			mui.openWindow({
				url: "cart.html",
				id: "cart",
				show: {
					aniShow: 'zoom-fade-out',
					duration: 300
				}
			});

		});
	</script>
</html>